<?php 
namespace Api\Controller;
use Think\Controller;
use Think\Verify;
/**
* 
*/
class VerifyController extends Controller{
	function show(){
		$config =  array(
 			// 'codeSet'		=> "",
            'fontSize'		=> I('size') ? I('size') : "18",
            'imageW'		=> I('w') ? I('w') : "340",
            'imageH'		=> I('h') ? I('h') : "45",
            'length'		=> I('len') ? I('len') : "6",
            'useCurve'		=> FALSE,
            'useNoise'		=> FALSE,
            'expire'		=> "300",
 		);
        $verify = new Verify($config);
        //ob_clean();
        ob_end_clean();
        $verify->entry();
	}
}